package com.leon.learnenginespace.drools.dao;

import com.leon.learnenginespace.drools.pojo.TDrlDictionary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : songxinyu
 * @description :
 * @program : msfDrools
 * @date : 2023-03-30
 */
@Mapper
public interface EntryMapper {

    /**
     * 字典查询
     */
    List<TDrlDictionary> tdrlDictionaries(TDrlDictionary tDrlDictionary);

    /**
     * 字典新增
     */
    int tDrlDictionaryCreat(TDrlDictionary tDrlDictionary);

    /**
     * 字典修改
     */
    int tDrlDictionaryUpdate(TDrlDictionary tDrlDictionary);

    /**
     * 查询解绑
     */
    List<TDrlDictionary> tdrlSceneRuleBindConfigselect(@Param("id") String id, @Param("status") String status);
}
